<template>
  <div class="goods-item">
    <img :src="brand.logo" alt="" />
    <div class="title">{{ brand.name }}</div>
  </div>
</template>

<script>
export default {
  name: "GoodsItem2",
  props: {
    brand: Object,
  },
};
</script>

<style lang="scss" scoped>
.goods-item {
  width: 280px;
  height: 325px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 5px;
  margin-left: 26px;
  margin-bottom: 20px;
  display: inline-block;
  &:hover {
    border: 1px solid #d52c1a;
  }
  img {
    width: 240px;
    height: 240px;
    border-radius: 5px;
    padding: 20px;
  }
  .title {
    padding: 0 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    line-height: 25px;
  }
}
</style>
